package com.four.peoplemanage.excontracts.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Excontracts {
    private Integer id;
    private Integer external_id;
    private String name;
    private String contract_number;
    private String identity;
    private String phonenumber;
    private String zip;
    private String newrenewal;
    private String resident_address;
    private String place_domicile;
    private String correspondence_address;
    private String post;
    private String type_contract;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private String contract_begintime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private String contract_endtime;
    private String tryouttime;
    private String namecard;
}
